<?php
/**  
  * 友情链接模版 
  *  
  * @package custom  
  */ 
$this->need('header.php'); ?>
	<link rel="stylesheet" type="text/css" media="all" href="<?php $this->options->themeUrl('css/link.css'); ?>">
	<article id="main">	
	<div id="top"></div>
		<section id="reading" class="post">
			<div id="post-link1">
				<div class="title"><?php _e('友情链接'); ?></div>
				<div class="readers-list">
					<ul>
						<?php if (class_exists('Links_Plugin')) { Links_Plugin::output('SHOW_IMG',0,'Links');} ?>  
					</ul>
				</div>
			</div>
			<div class="clear"></div>
			<div id="post-link2">
				<div class="title"><?php _e('我常去的'); ?></div>
					<div class="readers-list">
						<ul>
							<?php if (class_exists('Links_Plugin')) {Links_Plugin::output('SHOW_IMG',0,'Collects');} ?>  
						</ul>
					</div>
			</div>	
			<div class="clear"></div>	
			<div id="post-<?php $this->cid() ?>">
				<div class="title">友情链接说明：</div>
				<div class="Rlink1">
					<div class="content"><?php $this->content(); ?></div>
				</div>
			</div>
		</section>
		<?php $this->need('sidebar.php'); ?>
	<div id="bottom"></div>		
	</article>	<!-- content END -->
    <script type="text/javascript">
jQuery(document).ready(function($){
$(".Rlink a").each(function(e){
	$(this).prepend("<img src=http://www.google.com/s2/favicons?domain="+this.href.replace(/^(http:\/\/[^\/]+).*$/, '$1').replace( 'http://', '' )+" style=float:left;padding:0px;>");
}); 
});
</script>
	<?php $this->need('footer.php'); ?>